pp108 : Application Definition

 

 

Application Definition

 


Application Definition is an XML Object which defines an application in the Process Platform Ajax Toolkit framework. The properties and the attributes defined in this object specify the page to be opened, the frame in which the page is to be opened and so on.

Since the primary navigation in the Process Platform Ajax Toolkit framework is through the tree, some attributes and properties of the application definition define how the Application can be represented in a tree.

Syntax

XML
<script type="cordys/xml" id=xmlID>
    <Application isfolder=bIsfolder class=sClassName display=sDisplayMode>
        <id>applicationID</id>
        <description>applicationDescription</description>
        <caption>applicationCaption</caption>
        <url>applicationurl</url>
        <frame>applicationFrame</frame>
        <mode>compact</mode>
    </Application>
</script>


The following XML document syntax can be used to provide an application definition in the XML Editor of the XForms Designer:

 

<xml id="applicationmanager">
    <Application isfolder=bIsfolder class=sClassName display=sDisplayMode>
        <id>applicationID</id>
        <description>applicationDescription</description>
        <caption>applicationCaption</caption>
        <url>applicationurl</url>
        <frame>applicationFrame</frame>
        <mode>compact</mode>
    </Application>
</xml>


To access an application definition XML, you must use the<XMLIslandid>.XMLDocumentformat. For example, useapplicationmanager.XMLDocument.documentElement, instead o fapplicationmanager.documentElement. Refer to XML Editor for information.

The following are the various properties and attributes that can be defined on the Application Definition:

Property Description
id